package com.ltmonitor.vo;

import java.io.Serializable;

/**
 * 报警消息，用于Jms消息传输
 * @author admin
 *
 */
public class AlarmMessage implements Serializable{
	public static String ALARM_MESSAGE = "alarmNotify";

	public static String JT809_MESSAGE = "809Notify";

	public static String JT808_MESSAGE = "808Notify";
	/**
	 * 809平台状态消息
	 */
	public static String JT809_PLATFROM_STATE = "Jt809CommandGrid";

	private String plateNo;

	private String simNo;

	private long depId;
	/**
	 * 部门名称
	 */
	private String depName;
	/**
	 * adas附件
	 */
	private String adasAttachmentVideoFile;

	/**
	 * 报警记录表(alarm表）的主键Id
	 */
	private long alarmId;
	/**
	 * 车辆表主键Id
	 */
	private long vehicleId;

	/**
	 * 报警来源
	 */
	private String alarmSource;
	/**
	 * 报警类型
	 */
	private String alarmType;
	/**
	 * 消息描述
	 */
	private String alarmDescr;
	/**
	 * 报警时间
	 */
	private String alarmTime;
	/**
	 * 消息类型
	 */
	private String messageType;
	/**
	 * 是否有声音
	 */
	private boolean soundEnabled;
	/**
	 * 是否弹窗
	 */
	private boolean popupEnabled;

	/**
	 * gps位置描述
	 */
	private String location;

	/**
	 * 速度
	 */
	private double speed;
	/**
	 * 报警联动要监控的视频通道，为空则不进行联动
	 */
	private String videoChannels;

	/**
	 * 报警ID
	 */
	private String alarmIndex;

	public String getAlarmIndex() {
		return alarmIndex;
	}
	public void setAlarmIndex(String alarmIndex) {
		this.alarmIndex = alarmIndex;
	}

	public long getAlarmId() {
		return alarmId;
	}
	public void setAlarmId(long alarmId) {
		this.alarmId = alarmId;
	}
	public long getVehicleId() {
		return vehicleId;
	}
	public void setVehicleId(long vehicleId) {
		this.vehicleId = vehicleId;
	}
	public String getAlarmSource() {
		return alarmSource;
	}
	public void setAlarmSource(String alarmSource) {
		this.alarmSource = alarmSource;
	}
	public String getAlarmType() {
		return alarmType;
	}
	public void setAlarmType(String alarmType) {
		this.alarmType = alarmType;
	}
	public String getAlarmDescr() {
		return alarmDescr;
	}
	public void setAlarmDescr(String alarmDescr) {
		this.alarmDescr = alarmDescr;
	}
	public String getAlarmTime() {
		return alarmTime;
	}
	public void setAlarmTime(String alarmTime) {
		this.alarmTime = alarmTime;
	}
	public String getMessageType() {
		return messageType;
	}
	public void setMessageType(String messageType) {
		this.messageType = messageType;
	}
	public boolean isSoundEnabled() {
		return soundEnabled;
	}
	public void setSoundEnabled(boolean soundEnabled) {
		this.soundEnabled = soundEnabled;
	}
	public long getDepId() {
		return depId;
	}
	public void setDepId(long depId) {
		this.depId = depId;
	}
	public String getPlateNo() {
		return plateNo;
	}
	public void setPlateNo(String plateNo) {
		this.plateNo = plateNo;
	}
	public boolean isPopupEnabled() {
		return popupEnabled;
	}
	public void setPopupEnabled(boolean popupEnabled) {
		this.popupEnabled = popupEnabled;
	}


	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public double getSpeed() {
		return speed;
	}

	public void setSpeed(double speed) {
		this.speed = speed;
	}

	public String getSimNo() {
		return simNo;
	}

	public void setSimNo(String simNo) {
		this.simNo = simNo;
	}

	public String getVideoChannels() {
		return videoChannels;
	}

	public void setVideoChannels(String videoChannels) {
		this.videoChannels = videoChannels;
	}

	public String getDepName() {
		return depName;
	}

	public void setDepName(String depName) {
		this.depName = depName;
	}

	public String getAdasAttachmentVideoFile() {
		return adasAttachmentVideoFile;
	}

	public void setAdasAttachmentVideoFile(String adasAttachmentVideoFile) {
		this.adasAttachmentVideoFile = adasAttachmentVideoFile;
	}
}
